package com.lcxedu.notebook.service;

import com.lcxedu.notebook.entity.Event;
import com.lcxedu.notebook.entity.EventWithCategory;

import java.util.List;

/**
 * @Title: EventMapperService
 * @Author: 李晨曦
 * @Date: 2025/6/11
 * 好好看 好好学 都能学会 都能学好
 * 我亦无他 唯手熟尔
 */
public interface EventMapperService {
    List<EventWithCategory> getAllEventsWithCategoriesByUserId(Integer userId);
    void deleteById(Integer id);
    int updateByPrimaryKeySelective(Event record);
    int insertSelective(Event record);
    List<EventWithCategory> getAllEventsWithCategoriesByPage(Integer userId,String keyword);
    List<EventWithCategory> getAllEventsWithCategoriesByCondition(Integer userId, String title, Integer categoryId, String level, String status);

}
